//
//  HapLinkApp.swift
//  HapLink
//
//  Created by ZSC on 2025/5/19.
//

import SwiftUI

@main
struct HapLinkApp: App {
//    var body: some Scene {
//        WindowGroup {
//            ContentView2()
//        }
//    }
    
    // 创建一个 AdvancedHapticManager 实例
    @StateObject private var haptic = AdvancedHapticManager()
    
    var body: some Scene {
        WindowGroup {
            ContentView()
                .environmentObject(haptic)
        }
    }
}
